//
// Created by MikeChen on 2025/4/6.
//
//  函数:提供代码的复用


#include <stdio.h>
#include <string.h>
#include <stdlib.h>

#define PI 3.1415936

//求和
int add(int x, int y) {
    return x + y;
}
//求圆的面积，Πr的平方
double circle(double r){
    return PI*r*r;
}

int main() {
    printf("第一次：%0.3lf\n", circle(5.0));
    printf("第二次：%0.3lf\n", circle(5.0));
    system("read -rsp $'Press enter to continue...\\n'");
    return EXIT_SUCCESS;
}